package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.DuplicateFormatFlagsException;

import com.baomidou.mybatisplus.annotation.*;
import com.un.ebs.product.enums.ProductSkuResourceStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author liubo
 * @since 2019-11-23
 */
@Data
@Component
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("v_product_can_sale_ext")
public class ProductCanSaleExt extends Model<ProductCanSaleExt> {

    private static final long serialVersionUID=1L;

    private String id;

    private String code;

    private String name;

    private Boolean isPack;

    private String skuAttr;

    private String classId;

    private Integer unitType;

    private Integer chargeType;

    private String deliverReadyTime;

    private Double chargeMinMoney;

    private ProductSkuResourceStatusEnum resourceStatus;

    private Double qty;

    private Double price;

    private Double priceMin;

    private Double priceMax;

    private Double priceAvg;

    private String tenantId;

    @Override
    protected Serializable pkVal() {
            return null;
    }

}